package com.springbootinitiazation.listener;

import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

public class HelloApplicationContextInitalizer implements ApplicationContextInitializer<ConfigurableApplicationContext> {
    @Override//初始化时会调用这个方法
    public void initialize(ConfigurableApplicationContext applicationContext) {
        System.out.println("ApplicationContextInitializer......."+applicationContext);
    }
}
